<header class="header">
	<div class="return" id="return_pay"">
		<img src="images/ret_03.jpg" alt="">
		<a href="javascript:void(0);" class="back">返回</a>
	</div>
	<h2 class="air_title">充值</h2>
	<div class="air_cle"></div>
</header>
<div class="iscrollListContent" id="iscrollContent_payTo">
	<div class="pay_main" id="main_pay">
	</div>
</div>
<form id="payId_pay" action="123" method="post">	  
</form>
<form id="wechat_pay" action="http://ncmbr.yonyou.com/weixin/wxpay.jsp" method="post">
	
</form>
<script id="payTemplate" type="text/html">
	<p class="pay_title">充值金额</p>
	<ul class="pay_list" style="height: <%=2.4*(data.list.length/3+1)+0.2+'rem'%>;;">
		<% for(var i=0;i<data.list.length;i++){ %>
			<%if(i==0){%>
				<li class="payon pay_active"orderId="<%=data.list[i].id%>">
			<p class="pay_num">￥<%=addMoney(data.list[i].money,data.list[i].preferential)%></p>
			<p class="pay_ill">售价￥<span class="balance_pay"><%=data.list[i].money%></span></p>
		</li>
			<%}else{%>
		<li class="payon"orderId="<%=data.list[i].id%>">
			<p class="pay_num">￥<%=addMoney(data.list[i].money,data.list[i].preferential)%></p>
			<p class="pay_ill">售价￥<span class="balance_pay"><%=data.list[i].money%></span></p>
		</li>
		<%}%>
		<%}%>
	</ul>
	<p class="pay_title">支付方式</p>
	<ul class="payway_list">
		<% for(var i=0;i<data.list2.length;i++){ %>
			<%var str =data.list2[i]%>
			<%if(str=="1"){%>
				<%if(i==0){%>
				<li class="payonway payway_active" payway="wechat">
					<p class="payway_num">微信支付</p>
				</li>
				<%}else{%>
					<li class="payonway" payway="wechat">
					<p class="payway_num">微信支付</p>
				</li>
				<%}%>
			<%}else if(str =="2"){%>
				<%if(i==0){%>
				<li class="payonway payway_active" payway="union">
					<p class="payway_num">银联支付</p>
				</li>
				<%}else{%>
					<li class="payonway" payway="union">
					<p class="payway_num">银联支付</p>
				</li>
				
				<%}%>
				
			<%}%>
			
		<%}%>
	</ul>
	<a href="javascript:void(0);" class="pay_btn">充值</a>
	<p class="privile">温馨提示</p>
	<div class="pri_ill" id="pay_discountNote"><%=data.discountNote%></div>
</script>